Fix porting bug to older POSIXish platforms.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 Jul 2013 07:05:41 +0000 (00:05 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 Jul 2013 07:05:41 +0000 (00:05 -0700)
commit6b7188e226417f4f0a60e71c240435927877eff7
treefc525f635f337ed3c6a5abc0a8a757256a4638a4
parent58396ddf4051eeec20c95dc632c8db8fa513209c
Fix porting bug to older POSIXish platforms.

* sysdep.c (emacs_pipe): New function, that implements
pipe2 (fd, O_CLOEXEC) even on hosts that lack O_CLOEXEC.
This should port better to CentOS 5 and to Mac OS X 10.6.
All calls to pipe2 changed.
src/ChangeLog
src/alloc.c
src/callproc.c
src/emacs.c
src/lisp.h
src/nsterm.m
src/process.c
src/sysdep.c